package com.briup.sms.dao;

import com.briup.sms.entity.Shop;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ShopMapper {
    List<Shop> findShopInfo(String shopName);

    void insertShop(Shop shop);

    void updateShop(Shop shop);

    Shop findById(Integer id);

    Integer countShop();
}
